package demo03_auto;

import org.springframework.stereotype.Component;

/**
 * Created by ztt on 2017/9/15.
 */
@Component
public class RoleBean {

    public void getRole(){
        System.out.println("……获取角色……");
        System.out.println("……这是通过属性的方式获取bean ……");
    }
}
